package com.bdqn.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.mapper.RoleMapper;
import com.bdqn.pojo.Role;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {

    /**
     * 获得所有角色
     *
     * @return
     */
    @Override
    public List<Role> findAllRoles() {
        return super.list();
    }
}




